import { mixin } from 'magical-mixin'

class A {
  a() {
    console.log('a')
  }
}

class B {
  b() {
    console.log('b')
  }
}

class Bad {
  a() {
    console.log('a in Bad')
  }

  c() {
    console.log('c in Bad')
  }
}

class MyClass extends mixin(A, B) implements A, B {
  a: () => void

  b: () => void
}

const my = new MyClass()
my.a()
my.b()
